<html>
<head>
<script type="text/javascript">
	function exportHTML(text) {
	    myWindow=window.open('','','width=1000,height=600');
	    myWindow.document.write('<textarea style=\"width:100%;height:100%\" wrap="off">' + text + '</textarea>');
	    myWindow.focus();
	}
</script>
</head>
<body>

<script>
if (navigator.appName == 'Microsoft Internet Explorer') {
    document.write(
        '<object id="3480735099340-object"' +
        '    classid="clsid:CAFEEFAC-0017-0000-FFFF-ABCDEFFEDCBA"' +
        '        width="400" height="350"' +
        '        codebase="http://java.sun.com/update/1.7.0/jinstall-7u13-windows-i586.cab#Version=1,7,0,13">' +
        '    <param name="archive" value="xiangqiplugin.jar" />' +
        '    <param name="code" value="com.ltv.xiangqiplugin.views.ChessApp" />' +
        '    <param name="initPosition" value="RHEAKAEHR/9/1C5C1/P1P1P1P1P/9/9/p1p1p1p1p/1c5c1/9/rheakaehr/ r"/>' +
        '    <param name="moveList" value="H3-E3+B8-E8+H1-G3+H10-I8+I1-H1+H8-F8+H1-H9+B10-C8+H9-F9"/>' +
        '    <param name="startIndex" value="0"/>' +
        '    <param name="boardSize" value="small"/>' +
        '    <param name="language" value="VI"/>' +
        '    <param name="theme" value="1"/>' +
        '    <param name="isActive" value="true"/>' +
        '    <param name="MAYSCRIPT" value="true">' +
        '</object>');
} else {
    document.write(
        '<embed id="3480735099340"' +
        '    type="application/x-java-applet"' +
        '    width="400" height="350"' +
        '    archive="xiangqiplugin.jar"' +
        '    code="com.ltv.xiangqiplugin.views.ChessApp"' +
        '    pluginspage="http://java.com/download/"' +
        '    initPosition="RHEAKAEHR/9/1C5C1/P1P1P1P1P/9/9/p1p1p1p1p/1c5c1/9/rheakaehr/ r"' +
        '    moveList="H3-E3+B8-E8+H1-G3+H10-I8+I1-H1+H8-F8+H1-H9+B10-C8+H9-F9"' +
        '    startIndex="0"' +
        '    boardSize="small"' +
        '    language="VI"' +
        '    theme="1"' +
        '    isActive="true"' +
        '    MAYSCRIPT="true">' +
        '</embed>');
}
</script>

</body>
</html>